Repository navigation
ci(bigtable): split admin and data IT profiles and add parallel presubmit configs - #15060
Open
igorbernstein2 wants to merge 9 commits into
Open
igorbernstein2 wants to merge 9 commits into
igorbernstein2 wants to merge 9 commits into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces new Kokoro presubmit configurations (bigtable-integration-admin.cfg, bigtable-integration-cfe.cfg, and bigtable-integration-session-dp.cfg) to split and run different suites of Bigtable integration tests. It also updates the existing bigtable-integration.cfg to remove CMEK-related properties. In pom.xml, a new Maven profile bigtable-admin-it is added to run admin integration tests, and the bigtable-prod-it profile is updated to target only data integration tests (com.google.cloud.bigtable.data.v2.it.*IT) instead of all integration tests. There are no review comments, and I have no additional feedback to provide.
mutianf
approved these changes
Nov 17, 2026
blakeli0
approved these changes
Nov 17, 2026
igorbernstein2
force-pushed
the
ci-bigtable-split-admin-data-presubmits
branch
from
November 18, 2026 16:08
556366a to
69ea893
Compare
blakeli0
pushed a commit
that referenced
this pull request
Nov 18, 2026
…15058) Extracts stale resource cleanup out of `TestEnvRule.after()` into a standalone `StaleResourceCleaner` utility scheduled via a nightly Kokoro job, eliminating ~60+ redundant Admin API list scans per PR. > **Merge Order**: Standalone on `main` — merge **before** PR #15060, `cl/1023908200`, and the `cloud-bigtable` nightly cleanup CL. ### Changes - **Extract `StaleResourceCleaner`**: Moves stale resource cleanup (>24h old `temp-*` views, tables, authorized views, app profiles, clusters, backups, and orphaned test instances) out of `TestEnvRule.after()` into `StaleResourceCleaner` using `CloudEnv` (`AbstractTestEnv`), with JUnit 5 unit tests in `StaleResourceCleanerTest`. - **Clean up `TestEnvRule` & `pom.xml`**: Removes `cleanUpStale()` and unused `grpcLogHandler` / `bigtable.grpc-log-dir` from `TestEnvRule.java` and `google-cloud-bigtable/pom.xml`, and configures an `exec-maven-plugin` execution (`exec:java@cleanup-stale-resources`) to run `StaleResourceCleaner`. - **Nightly Kokoro Cleanup Config**: Adds `.kokoro/nightly/bigtable-cleanup.cfg` and `.kokoro/bigtable-cleanup.sh` to run `StaleResourceCleaner` against `gcloud-devel` (`google-cloud-bigtable` and `google-cloud-bigtable-session`).
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Decouples Bigtable Admin and Data integration test profiles and configures 6 parallel Kokoro presubmit jobs to minimize PR feedback wall-clock time.
Changes
java-bigtable/google-cloud-bigtable/pom.xml):bigtable-admin-itprofile (com.google.cloud.bigtable.admin.v2.it.*IT).bigtable-prod-itprofile to data-plane ITs (com.google.cloud.bigtable.data.v2.it.*IT)..kokoro/presubmit/):bigtable-integration-admin.cfg:-P bigtable-admin-it(with CMEK properties)bigtable-integration.cfg:-P bigtable-prod-it,enable-verbose-grpc-logsbigtable-integration-cfe.cfg:-P bigtable-cfe-it,enable-verbose-grpc-logsbigtable-integration-dp.cfg:-P bigtable-directpath-it,enable-verbose-grpc-logsbigtable-integration-session.cfg:-P bigtable-cfe-it,bigtable-session-it,enable-verbose-grpc-logsbigtable-integration-session-dp.cfg:-P bigtable-directpath-it,bigtable-session-it,enable-verbose-grpc-logs